package com.xuecheng.content.model.dto;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.xuecheng.base.exception.ValidationGroups;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import java.time.LocalDateTime;

@Data
@ToString
@ApiModel(value = "CourseTeacherDto", description = "新增教师基本信息")
public class CourseTeacherDto {


//    @ApiModelProperty(value = "教师id", required = false)
    private Long id;

//    @ApiModelProperty(value = "课程id", required = true)
    private Long courseId;

//    @NotEmpty(message = "新增教师不能为空", groups = {ValidationGroups.Inster.class})
//    @ApiModelProperty(value = "教师名", required = true)
    private String teacherName;

//    @NotEmpty(message = "新增教师职位不能为空", groups = {ValidationGroups.Inster.class})
//    @ApiModelProperty(value = "教师职位", required = true)
    private String position;

//    @NotEmpty(message = "新增教师职位不能为空", groups = {ValidationGroups.Inster.class})
//    @ApiModelProperty(value = "教师职位", required = true)
    private String introduction;

//    @ApiModelProperty(value = "教师照片", required = false)
    private String photograph;

//    @ApiModelProperty(value = "创建时间", required = false)
    private LocalDateTime createDate;



}
